package com.scau.dao;

import com.scau.entity.Counselor;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface CounselorDao extends JpaRepository<Counselor, Long> {
    Counselor findByPhoneAndPassword(String phone, String password);
}
